package com.cloud.note.service;

import com.cloud.note.dto.note.NoteResponse;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface FavoriteService {

    Page<NoteResponse> getFavorites(String userId, Pageable pageable);

    void addToFavorite(String userId, String noteId);

    void removeFromFavorite(String userId, String noteId);

    boolean isNoteFavorited(String userId, String noteId);
}